package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ee.chat.common.entity.SysConfig;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2019-11-20
 */
public interface SysConfigMapper extends BaseMapper<SysConfig> {
    /**
     * 获取value
     * @Author Shane
     * @Date 2019/11/20 16:24
     * @param
     * @return
     **/
    String getValue(@Param("key") String key);

    IPage<SysConfig> list(Page page);
}